package com.eml.service.entity;

import java.util.Date;

public class Coupons {
    private Integer couponsId;//优惠券编号
    private Date useTime;//优惠券使用时间
    private Date overTime;//优惠券结束时间
    private Integer discountAmount;//优惠金额

    public Coupons() {
    }

    public Coupons(Integer couponsId, Date useTime, Date overTime, Integer discountAmount) {
        this.couponsId = couponsId;
        this.useTime = useTime;
        this.overTime = overTime;
        this.discountAmount = discountAmount;
    }

    public Coupons(Date useTime, Date overTime, Integer discountAmount) {
        this.useTime = useTime;
        this.overTime = overTime;
        this.discountAmount = discountAmount;
    }

    public Integer getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Integer couponsId) {
        this.couponsId = couponsId;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Date getOverTime() {
        return overTime;
    }

    public void setOverTime(Date overTime) {
        this.overTime = overTime;
    }

    public Integer getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(Integer discountAmount) {
        this.discountAmount = discountAmount;
    }

    @Override
    public String toString() {
        return "coupons{" +
                "couponsId=" + couponsId +
                ", useTime=" + useTime +
                ", overTime=" + overTime +
                ", discountAmount=" + discountAmount +
                '}';
    }
}
